package qc.common.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * CMS中文章状态标记枚举
 *
 * @author QuCheng Tech
 * @since 2023/5/29
 */
@Getter
@AllArgsConstructor
public enum CmsArticleStatusFlagEnum {
    DRAFT(0, "草稿"),
    AUDIT(1, "待审核"),
    PASS(2, "审核通过"),
    NO_PASS(3, "审核未通过"),
    PUBLISH(4, "已发布"),
    RECALL(5, "发布撤回"),
    DELETED(9, "已删除");

    @EnumValue
    private int index;
    private String name;
}
